<template>
  <van-nav-bar attr :title="title" @click-left="$goPage(-1)">
    <template #left>
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-back"></use>
      </svg>
    </template>
  </van-nav-bar>
</template>

<script setup>
import { useAttrs } from 'vue'
defineProps({
  title: String
})
const attr = useAttrs()
</script>

<style scoped lang="scss"></style>
